<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html lang="en">
<head>
  <meta name="copyright" content=
  "Copyright (c) IBM Corporation and others 2000, 2011. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page.">
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <meta http-equiv="Content-Style-Type" content="text/css">
  <link rel="STYLESHEET" href="../book.css" charset="ISO-8859-1" type="text/css">
  <title>Creating a bookmark within a file</title>
  <script language="JavaScript" src="PLUGINS_ROOT/org.eclipse.help/livehelp.js" type="text/javascript"></script>
</head>
<body bgcolor="#FFFFFF">
  <a name="elementId-1001031" id="elementId-1001031"></a> <a name="pgfId-1001036" id="pgfId-1001036"></a>
  <h1>Creating a bookmark within a file</h1>
  <p>The Workbench allows you to create bookmarks in files that you edit so that you can quickly reopen those files
  from the Bookmarks view ( <a class="command-link" href=
  'javascript:executeCommand("org.eclipse.ui.views.showView(org.eclipse.ui.views.showView.viewId=org.eclipse.ui.views.BookmarkView)")'>
  <img src="PLUGINS_ROOT/org.eclipse.help/command_link.svg" alt="command link"> <b>Window &gt; Show View &gt; Other...
  &gt; General &gt; Bookmarks</b></a>).</p>
  <ol>
    <li>With the file open in an editor, right-click in the gray border at the left of the editor area, next to the
    line of code or text that you want to bookmark.</li>
    <li>Select <b>Add Bookmark</b> from the pop-up menu.</li>
    <li>Notice that an icon for the bookmark now appears in the left border of the editor area. A line is also added to
    the Bookmarks view.)</li>
  </ol>
  <p class="Head">You can reopen the file for editing at any time by double-clicking the bookmark in the Bookmarks
  view.</p>
  <h3 class="related">Related concepts</h3><a href="../concepts/cbookmrk.htm">Bookmarks</a><br>
  <a href="../concepts/ctskview.htm">Tasks view</a>
  <h3 class="related">Related tasks</h3><a href="tasks-81b.htm">Creating a bookmark for an entire file</a><br>
  <a href="tasks-82.htm">Deleting a Bookmark</a><br>
  <a href="tasks-77.htm">Adding line items in the Tasks view</a><br>
  <a href="tasks-77b.htm">Associating a task with a resource</a>
</body>
</html>
